package com.clstu.enum_;

public class EnumExercise01 {
    public static void main(String[] args) {
        System.out.println(Gender.BOY);
    }
}
enum Gender{
    BOY,GIRL;
    /*
    public String toString(){
         return name();//即返回常量对象名
    }
     */
}